<template>
	<!-- word/excel/ppt 预览 -->
	<view>
		<preview-file :downFileItem="downFileItem" :fileUrl="downFileItem.fileSrc"></preview-file>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				downFileItem: {},
			};
		},
		onLoad: function(options) {
			const eventChannel = this.getOpenerEventChannel();
			eventChannel.on("dataFun", ({
				data
			}) => {
				this.downFileItem = data;
			});
		},
		onShow: function() {},
		methods: {},
	};
</script>

<style>
</style>